from django.test import TestCase

# Create your tests here.
import requests
# Create your tests here.

# url = "http://127.0.0.1:8000/grade"
url = "http://127.0.0.1:8000/student"
# data = {"name":"天琴座","teacher":"牛牛"}
# #data = {}
# print(req.json())

data = {"id":10}
r = requests.delete(url,params=data)
print(r.json())


# data = {"id":10,"name":"修改班级班级99","teacher":"修改老师名1"}
# r = requests.delete(url,params=data)
# print(r.json())

# r = requests.put(url,data)
# print(r.json())


# data = {"id":10,'name':'wxy','qq':93933838,'phone':13500979873,'sex':0,'grade':3}
# r = requests.post(url,data)
# print(r.json())


